package com.ucw.ucwclient.dal.mapper;

import java.util.Date;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ucw.ucwclient.dal.dataobject.AccountFollow;


@Repository
public interface AccountFollowMapper {
	int deleteByPrimaryKey(@Param("followId") Long followId, @Param("userId") Long userId);

	int insert(AccountFollow record);

	int insertSelective(AccountFollow record);

	AccountFollow selectByPrimaryKey(@Param("followId") Long followId, @Param("userId") Long userId);

	int updateByPrimaryKeySelective(AccountFollow record);

	int updateByPrimaryKey(AccountFollow record);

	int followOne(@Param("followId")Long followId, @Param("userId")Long userId, @Param("Date")Date date);
}